< Prev(J) / Next(K) > / View :

Filename: /text/scalc/guide/csv_formula.xhp

(bookmark: bm_id3153726)
csv files;formulas
formulas; importing/exporting as csv files
exporting;formulas as csv files
importing;csv files with formulas

csv ファイル; 数式
数式; csv としてインポートする/エクスポートする
エクスポートする;数式を csv ファイルとして
インポートする;数式を伴う csv ファイル

(variable: csv_formula)Importing and Exporting CSV Text Files with Formulas
(variable: csv_formula)数式付きの CSV テキストファイルのインポートとエクスポート(hd_id3153726.1)

Comma separated values (CSV) files are text files that contain the cell contents of a single sheet. Commas, semicolons, or other characters can be used as the field delimiters between the cells. Text strings are put in quotation marks, numbers are written without quotation marks.
CSV (Comma Separated Values) ファイルとは、単一のシートのセルの内容が入っているテキストファイルのことです。セルの区切り記号としては、コンマやセミコロンなとの文字を使用できます。テキスト文字列は引用符で囲まれますが、数字は引用符で囲まれません。(par_id3149402.2)

To Import a CSV File
CSV ファイルをインポートします。(hd_id3150715.15)

  1. Choose File - Open.
    ファイル → 開く を選択します。(par_id3153709.16)

  2. In the File type field, select the format "Text CSV". Select the file and click Open. When a file has the .csv extension, the file type is automatically recognized.
    ファイルの種類 から「Text CSV」を選択します。ファイルを選択して 開く ボタンをクリックします。ファイル名に拡張子 .csv が付いている場合は、自動認識されます。(par_id3155445.17)

  3. You will see the Text Import dialog. Click OK.
    テキストインポートダイアログが表示されます。OKをクリックします。(par_id3149565.18)

Tip Icon ヒント If the csv file contains formulas, but you want to import the results of those formulas, then choose (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - View and clear the Formulas check box.
[PO-fuzzy@scalc\guide.po] ※※※未訳※※※(par_id3149255.19)

To Export Formulas and Values as CSV Files
CSV ファイルとして数式と値をエクスポートする(hd_id3154022.3)

  1. Click the sheet to be written as a csv file.
    CSV ファイルとして書き出すシートをクリックします。(par_id3150342.4)

  2. If you want to export the formulas as formulas, for example, in the form =SUM(A1:B5), proceed as follows:
    数式を数式の形式 (例えば =SUM(A1:B5)) のままエクスポートする場合は、次のように操作します:(par_id3166423.5)

    Choose (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - View.
    [PO-fuzzy@scalc\guide.po] ※※※未訳※※※(par_id3155111.6)

    Under Display, mark the Formulas check box. Click OK.
    表示 の下にある 数式 をオンにします。「OK」をクリックします。(par_id3150200.7)

    If you want to export the calculation results instead of the formulas, do not mark Formulas.
    数式ではなく計算結果をエクスポートする場合は、数式 をオフにします。(par_id3154484.8)

  3. Choose File - Save as. You will see the Save as dialog.
    メニュー ファイル → 名前を付けて保存 を選択して 名前を付けて保存 ダイアログを開きます。(par_id3148702.9)

  4. In the File type field select the format "Text CSV".
    ファイルの種類フィールドで"テキスト CSV"フォーマットを選びます。(par_id3153912.10)

  5. Enter a name and click Save.
    名前を付けた上で 保存 ボタンをクリックします。(par_id3157978.13)

  6. From the Export of text files dialog that appears, select the character set and the field and text delimiters for the data to be exported, and confirm with OK.
    ダイアログ テキストのエクスポート が表示されます。このダイアログから、エクスポートするデータの文字セット、フィールドの区切り記号、テキストの区切り記号を選択して、OK をクリックします。(par_id3152869.23)

    Warning Icon 警告マーク If the numbers use commas as decimal separators or thousands separators, do not select the comma as the field delimiter. If the text contains double quotation marks, you must select the single quotation mark as separator.
    注意:数値の小数位区切りまたは桁区切りにコンマを使用している場合、フィールドの区切り記号にコンマを選択してはなりません。テキストに二重引用符が含まれている場合、テキストの区切り記号には単一引用符を選択する必要があります。(par_id3146781.12)

  7. If necessary, after you have saved, clear the Formulas check box to see the calculated results in the table again.
    保存後に 数式 チェックボックスをオフにすると、表には再び計算結果が表示されます。(par_id3150050.14)

(in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - View
[PO-fuzzy@scalc\guide.po] ※※※未訳※※※(par_id3153487.20)

Export text files
テキストエクスポート(par_id3153008.21)

Import text files
テキストインポート(par_id3155595.22)


< Prev / Next >